Appearance-Compliant Menu Draw State Constants
NEW WITH THE APPEARANCE MANAGER
You can pass one of the following constants in theinState
parameter ofDrawThemeMenuItem
andDrawThemeMenuTitle
to specify the state in which Appearance-compliant menus are drawn.
enum{ kThemeMenuActive = 0, kThemeMenuSelected = 1, kThemeMenuDisabled = 2 }; typedef SInt16 ThemeMenuState;Constant descriptions
kThemeMenuActive
- Menu is drawn in its active state.
kThemeMenuSelected
- Menu is drawn in its selected state.
kThemeMenuDisabled
- Menu is drawn in its disabled state.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using theThemeMenuState
type or the Appearance-compliant menu draw state constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.